package com.stadium.service;

import java.util.List;
import java.util.Map;

import com.stadium.dto.EventAndScheduleDto;
import com.stadium.dto.GameTeamDto;
import com.stadium.dto.TeamListDto;
import com.stadium.entity.GameEvent;
import com.stadium.dto.GameEventDto;
import com.stadium.vo.GameEventVo;
import com.stadium.vo.searchVo.GameEventSearchVo;
import com.stadium.vo.searchVo.GameTeamSearchVo;

/**
 * 赛事详情
 *
 * @author wsl
 * @email
 * @date 2021-05-04 09:39:10
 */
public interface GameEventSV{
	List<GameEvent> queryBySQL(String sql, Map<String, Object> map);

    void save(GameEventVo gameEventVo);

    void saveBatch(List<GameEvent> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(GameEventVo gameEventVo);

    List<GameEventDto> query(GameEventSearchVo searchVo);

    GameEventDto get(String id);

    int getCount(GameEventSearchVo gameEventsearchVo);

    List<GameTeamDto> auditTeam(GameTeamSearchVo vo);

    int auditTeamCount(GameTeamSearchVo vo);

    void audit(String rid, String status);

    List<TeamListDto> getTeamsByEventId(String eventId);

    List<EventAndScheduleDto> queryByPlayerUserId(String userId);
}
